﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Linq.Mapping;


namespace PhotoGallery.Entities
{
    [Table]
    public class Tag
    {
        [Column(IsPrimaryKey = true, IsDbGenerated = true, AutoSync = AutoSync.OnInsert)]
        public int? TagId { get; set; }

        [Column]
        public int PhotoId { get; set; }
        [Column]
        public string NameTag { get; set; }

    }
}